package com.laf.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

public class Apply {

  private String applyId;
  private String proposer;
  private String noticeId;
  @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
  private java.sql.Timestamp applyTime;
  private String status;
  private String display;

  public Apply() {
  }

  public Apply(String applyId, String proposer, String noticeId, Timestamp applyTime, String status, String display) {
    this.applyId = applyId;
    this.proposer = proposer;
    this.noticeId = noticeId;
    this.applyTime = applyTime;
    this.status = status;
    this.display = display;
  }

  @Override
  public String toString() {
    return "Apply{" +
            "applyId='" + applyId + '\'' +
            ", proposer='" + proposer + '\'' +
            ", noticeId='" + noticeId + '\'' +
            ", applyTime=" + applyTime +
            ", status='" + status + '\'' +
            ", display='" + display + '\'' +
            '}';
  }

  public String getApplyId() {
    return applyId;
  }

  public void setApplyId(String applyId) {
    this.applyId = applyId;
  }


  public String getProposer() {
    return proposer;
  }

  public void setProposer(String proposer) {
    this.proposer = proposer;
  }

  public String getNoticeId() {
    return noticeId;
  }

  public void setNoticeId(String noticeId) {
    this.noticeId = noticeId;
  }


  public java.sql.Timestamp getApplyTime() {
    return applyTime;
  }

  public void setApplyTime(java.sql.Timestamp applyTime) {
    this.applyTime = applyTime;
  }


  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }


  public String getDisplay() {
    return display;
  }

  public void setDisplay(String display) {
    this.display = display;
  }

}
